# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-schedule
pkgver=1.1.0
pkgrel=0
pkgdesc="Job scheduling for humans"
url="https://github.com/dbader/schedule"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-mock"
source="https://files.pythonhosted.org/packages/source/s/schedule/schedule-$pkgver.tar.gz"
builddir="$srcdir/schedule-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
bcfb6202659eba0a0613f68d8b06b9f2ffffce0444e231533932f72b01316b72674208a80418de54630d9b25bb80f1c202061672f7c40ca38020b19a0a51fc3f  schedule-1.1.0.tar.gz
"
